// 定义用户信息接口
export type User = {
    [key: string]: any;
    id: number;
    username: string;
    name: string;
    phone: string;
    sex: string;
    address: string;
    email: string;
    avatar: string;
    userType: number;
    enabled: number;
    delFlag: string;
    createTime: string;
    updateTime: string;
    roleIds: string;
}

// 角色信息
export type Role = {
    id: number;
    name: string;
    description: string;
}

export type Form = {
    id?: number;
    username?: string;
    name?: string;
    avatar?: string;
    phone?: string;
    email?: string;
    enabled?: number;
    roleIds?: number[];
    password?: string;
}

export type PageUser = {
    page: number;
    limit: number;
    username: string;
    role: string;
    startCreateTime: string;
    endCreateTime: string;
}